using System;
using System.Collections.Generic;
using System.Text;
using AntEater.ComponentModel;

namespace AntEater.Runtime.UI
{
    /// <summary>
    /// Provides EventArguments for the MessageClick Event.
    /// </summary>
    public class MessageClickEventArgs:EventArgs
    {

        /// <summary>
        /// Initializes a new instance of the <see cref="T:MessageClickEventArgs"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public MessageClickEventArgs(Message message) {
            this._message = message;
        }

        private Message _message;

        /// <summary>
        /// Gets or sets the message.
        /// </summary>
        /// <value>The message.</value>
        public Message Message {
            get { return _message; }
        }
    }
}
